package com.santu.edu.supporter.biz.buildings.serice;

import com.santu.edu.supporter.biz.buildings.pojo.dto.BuildingsDTO;

import java.util.ArrayList;
import java.util.List;

/**
 * @author luoyaoqi
 * @createTime 2024/2/20
 * @description
 */
public interface BuildingsService {

    /**
     *
     * 添加楼栋
     * @param buildName 楼栋名称
     * @param typeCode 楼栋类型
     * @param schoolId 学校id
     * @return
     */
    Boolean addBuilding(String buildName, Integer typeCode,String schoolId);

    /**
     * 删除楼栋
     * @param buildingsId 楼栋id
     * @return
     */
    Boolean removeBuilding(String buildingsId);

    /**
     * 获取楼栋列表
     * @param typeCode
     * @param schoolId
     * @return
     */
    List<BuildingsDTO> getBuildingsList(Integer typeCode,String schoolId);

    /**
     * 根据id获取楼栋信息
     * @param buildIdList
     * @return
     */
    List<BuildingsDTO> getBuildsByIdList(List<String> buildIdList);
}
